<?php
/**
 * Intreface DAO
 *
 * @author: http://phpdao.com
 * @date: 2015-05-26 14:36
 */
interface AdminUsersDAO{

	/**
	 * Get Domain object by primry key
	 *
	 * @param String $id primary key
	 * @Return AdminUsers 
	 */
	public function load($adminusers);
	
	public function load_roles();
	
	public function login($adminusers);
	
	public function adminuser_count($adminusers);
	
	/**
	 * Get all records from table
	 */
	public function queryAll($adminusers);
	
	/**
	 * Get all records from table ordered by field
	 * @Param $orderColumn column name
	 */
	public function queryAllSearchBy($adminusers);
	
	/**
 	 * Delete record from table
 	 * @param adminUser primary key
 	 */
	public function delete($admin_id);
	
	/**
 	 * Insert record to table
 	 *
 	 * @param AdminUsers adminUser
 	 */
	public function insert($adminUser);
	
	/**
 	 * Update record in table
 	 *
 	 * @param AdminUsers adminUser
 	 */
	public function update($adminUser);	
	
	public function delete_adminuser($adminUser);	

	/**
	 * Delete all rows
	 */
	public function clean();

	public function queryByFirstName($value);

	public function queryByMiddleName($value);

	public function queryByLastName($value);

	public function queryByEmail($value);

	public function queryByUserId($value);

	public function queryByPassword($value);

	public function queryByRoleId($value);

	public function queryByStatus($value);

	public function queryByCreatedDate($value);

	public function queryByUpdatedDate($value);


	public function deleteByFirstName($value);

	public function deleteByMiddleName($value);

	public function deleteByLastName($value);

	public function deleteByEmail($value);

	public function deleteByUserId($value);

	public function deleteByPassword($value);

	public function deleteByRoleId($value);

	public function deleteByStatus($value);

	public function deleteByCreatedDate($value);

	public function deleteByUpdatedDate($value);


}
?>